﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YiLe.UI
{
    public class FolderView
    {
        private string mViewName;
        private ApplicationFolder.ContentViewType mContentViewType;
        private string mLayoutName;
        private ReadingPaneLocation mReadingPaneLocation;

        public FolderView(string viewName, ApplicationFolder.ContentViewType contentViewType, string layoutName)
        {
            ViewName = viewName;
            ContentViewType = contentViewType;
            LayoutName = layoutName;
            ReadingPaneLocation = ReadingPaneLocation.Off;
        }


        public string ViewName
        {
            get { return mViewName; }
            set { mViewName = value; }
        }

        public ApplicationFolder.ContentViewType ContentViewType
        {
            get { return mContentViewType; }
            set { mContentViewType = value; }
        }

        public string LayoutName
        {
            get { return mLayoutName; }
            set { mLayoutName = value; }
        }

        public ReadingPaneLocation ReadingPaneLocation
        {
            get { return mReadingPaneLocation; }
            set { mReadingPaneLocation = value; }
        }
    }

    public enum ReadingPaneLocation : int
    {
        Off,
        Bottom,
        Right
    }
}


